﻿namespace Azalea.ORMap
{
    public interface ISqlSelect
    {
        ISqlSelect Table(string tableName);

        ISqlSelect Count();
        ISqlSelect AllFields();

        ISqlSelect Field(string field);
        ISqlSelect Field(string field, string alias);

        //TODO: 1 as cnt, order by, ...

        ISqlWhere Where();

        ICommandBuilder Done();
    }
}